package com.Test_02;

import javax.swing.plaf.TableHeaderUI;

public class ThreadDemo {

    public static void main(String[] args) {
sellTicket st=new sellTicket();
        Thread t1=new Thread(st,"窗口1");
        Thread t2=new Thread(st,"窗口2");
        Thread t3=new Thread(st,"窗口3");
        t1.start();
        t2.start();
        t3.start();
    }
}
